class CreateComputations < ActiveRecord::Migration
  def self.up
    create_table :computations do |t|
      t.integer :project_id, :null => false
      t.string :name
      t.string :start_value
      t.string :reset_condition
      t.string :count_condition
      t.string :count_by
      
      t.timestamps
    end
  end

  def self.down
    drop_table :computations
  end
end
